Skip to content

Creating a new Workspace Invoice Preference

Request

This endpoint returns structured Workspace Invoice Preference objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the workspace_invoice_preferences top-level JSON key. Please see our Response Format section for more information.

Bodyapplication/jsonrequired
workspace_invoice_preferenceobject
{ "workspace_invoice_preference": { "workspace_id": 0, "purchase_order": "string", "project_code": "string", "client_invoice_name": "string", "client_invoice_address": "string", "consultant_invoice_name": "string", "consultant_invoice_address": "string" } }

Responses

Workspace Invoice Preference has been created.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
workspace_invoice_preferencesobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "workspace_invoice_preferences": { "property1": { "client_invoice_address": "string", "client_invoice_name": "string", "consultant_invoice_address": "string", "consultant_invoice_name": "string", "project_code": "string", "purchase_order": "string", "workspace_id": 0 }, "property2": { "client_invoice_address": "string", "client_invoice_name": "string", "consultant_invoice_address": "string", "consultant_invoice_name": "string", "project_code": "string", "purchase_order": "string", "workspace_id": 0 } } }

Creating a new Workspace Invoice Preference

Request

This endpoint returns structured Workspace Invoice Preference objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the workspace_invoice_preferences top-level JSON key. Please see our Response Format section for more information.

Bodyapplication/jsonrequired
workspace_invoice_preferenceobject
{ "workspace_invoice_preference": { "workspace_id": 0, "purchase_order": "string", "project_code": "string", "client_invoice_name": "string", "client_invoice_address": "string", "consultant_invoice_name": "string", "consultant_invoice_address": "string" } }

Responses

Workspace Invoice Preference has been created.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
workspace_invoice_preferencesobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "workspace_invoice_preferences": { "property1": { "client_invoice_address": "string", "client_invoice_name": "string", "consultant_invoice_address": "string", "consultant_invoice_name": "string", "project_code": "string", "purchase_order": "string", "workspace_id": 0 }, "property2": { "client_invoice_address": "string", "client_invoice_name": "string", "consultant_invoice_address": "string", "consultant_invoice_name": "string", "project_code": "string", "purchase_order": "string", "workspace_id": 0 } } }